import request from './../axios';
export const login = (data) => {
	return request({
		url: '/login',
		method: 'post',
		data: {
			...data,
		},
	});
};
export const register = (data) => {
	return request({
		url: '/register',
		method: 'post',
		data: {
			...data,
		},
	});
};


export const dataList = (data) => {
	return request({
		url: '/nodeApi/list',
		method: 'post',
		data: {
			...data,
		},
	});
};

